<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">基本信息</div>
<!--        layui-table timo-detail-table -->
        <table class="layui-table timo-table">
            <colgroup>
                <col width="100px"><col>
                <col width="100px"><col>
            </colgroup>
            <tbody>
                <tr>
                    <th>主键ID</th>
                    <td th:text="${baseinfo.id}"></td>
                    <th>商家名称</th>
                    <td th:text="${baseinfo.store_name}"></td>
                </tr>
                <tr>
                    <th>商家电话</th>
                    <td th:text="${baseinfo.store_tel}"></td>
                    <th>商家地址</th>
                    <td th:text="${baseinfo.address}"></td>
                </tr>
                <tr>
                    <th>营业开始时间</th>
                    <td th:text="${baseinfo.yingye_time}"></td>
                    <th>身份证</th>
                    <td th:text="${baseinfo.sfz_img}"></td>
                   
                   </tr>
                <tr>
                   
                    <th>logo</th>
                    <td>
                      <img th:src="${baseinfo.logo}" alt="身份证">
                    </td>
                    <th>营业执照</th>
                    <td >
                    <img th:src="${baseinfo.yyzz_img}" alt="营业执照">
                    </td>
                
                </tr>
                <tr>
                    <th>商家图片</th>
                    <td>
                     <div th:each="arrayS:${#strings.arraySplit(baseinfo.store_img,',')}">  
             <img class="img-responsive" alt="" th:src="${arrayS}" />
             </div>
             </td>
                    <th>分类</th>
                    <td th:text="${baseinfo?.storetype?.title}"></td>
                </tr>
                <tr>
                    <th>是否置顶</th>
                    <td th:switch="${baseinfo.istop}">
                           <span th:case="0"></span>
                           <span th:case="1">置顶</span></td> 
                    <th>创建时间</th>
                    <td th:text="${#dates.format(baseinfo.createDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
              </tr>
                <tr>
                    <th>所属城市</th>
                    <td th:text="${baseinfo.areaname}"></td>
                </tr>
                <tr>
                    <th>商家介绍</th>
                    <td th:text="${baseinfo.details}" colspan="3"></td>
                </tr>
                 
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>